#pragma once
#include <Windows.h>

//////////////////////////////////////////////////////////////////////////
#define CV_INFO_PDB20_SIGNATURE  0x3031424E //NB10

#pragma pack(1)
typedef struct _CV_HEADER
{
	DWORD Signature;
	DWORD Offset;
}CV_HEADER;
#pragma pack()

#pragma pack(1)
typedef struct _CV_INFO_PDB20
{
	CV_HEADER CvHeader;
	DWORD Signature;
	DWORD Age;
	//BYTE PdbFileName[];
}CV_INFO_PDB20;
#pragma pack()

//////////////////////////////////////////////////////////////////////////
#define CV_INFO_PDB70_SIGNATURE  0x53445352 //RSDS

#pragma pack(1)
typedef struct _CV_INFO_PDB70
{
	DWORD  CvSignature;
	GUID Signature;
	DWORD Age;
	//BYTE PdbFileName[];
}CV_INFO_PDB70;
#pragma pack()

//////////////////////////////////////////////////////////////////////////
#if 0

#define IMAGE_DEBUG_MISC_EXENAME    1

#pragma pack(1)
typedef struct _IMAGE_DEBUG_MISC {
	DWORD       DataType;
	DWORD       Length;
	BOOLEAN     Unicode;
	BYTE        Reserved[ 3 ];
	BYTE        Data[ 1 ]; 
} IMAGE_DEBUG_MISC, *PIMAGE_DEBUG_MISC;
#pragma pack()

#endif//_IMAGE_DEBUG_MISC

//////////////////////////////////////////////////////////////////////////
